import 'dart:async';
import 'dart:io';

import '../data/TabData.dart';

typedef CmdCallback = void Function(String success,String error,Process process,StreamSubscription<String>? successListener);
typedef HeaderTabClickCallback = void Function(TabData tab);
typedef CmdTypeCallback = void Function(String success);
typedef NetCallback = void Function(bool isSuccess,String result);